package com.example.security.dao;

import com.example.security.bean.SysPermission;
import com.example.security.bean.SysRole;
import com.example.security.bean.UserInfo;

import java.util.List;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 */
public interface UserInfoMapper {

    UserInfo findEntityByUserName(String userName);


    List<SysRole> findRoleListByUserId(int uid);


    List<SysPermission> findPermissionListByUid(int id);

}
